package com.kt.sso.service.impl;

import com.kt.sso.dao.UserDao;
import com.kt.sso.entity.KtUser;
import com.kt.sso.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * Desc:
 *
 * @author: keen
 * Date: 2019-10-27
 * Time: 22:14
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    @Override
    public KtUser findUserByName(String userName) {
        return userDao.findUserByName(userName);
    }
}
